home *** CD-ROM | disk | FTP | other *** search
- /* GadTools layout toolkit
- **
- ** Copyright © 1993-1995 by Olaf `Olsen' Barthel
- ** Freely distributable.
- */
-
- #include "gtlayout_global.h"
-
- VOID __asm __saveds
- LTP_BackfillRoutine(register __a0 struct Hook *Hook,register __a1 struct LayerMsg *Bounds,register __a2 struct RastPort *RPort)
- {
- LayoutHandle *Handle = (LayoutHandle *)Hook->h_Data;
-
- BltBitMap(&Handle->BackfillBitMap,0,0,RPort->BitMap,Bounds->Bounds.MinX,Bounds->Bounds.MinY,Bounds->Bounds.MaxX - Bounds->Bounds.MinX + 1,Bounds->Bounds.MaxY - Bounds->Bounds.MinY + 1,0xC0,~0,NULL);
- /*
- struct LayoutHandle *Handle = (struct LayoutHandle *)Hook -> h_Data;
- struct RastPort __aligned RastPort;
-
- CopyMem(RPort,&RastPort,sizeof(struct RastPort));
-
- RPort = &RastPort;
-
- RPort -> Layer = NULL;
-
- SetAPen(RPort,Handle -> BackgroundPen);
- SetDrMd(RPort,JAM1);
-
- RectFill(RPort,Bounds -> Bounds . MinX,Bounds -> Bounds . MinY,Bounds -> Bounds . MaxX,Bounds -> Bounds . MaxY);
- */
- }
-